package com.neusoft.neuiotms.dcom.dto;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.neusoft.bizcore.web.dto.AbstractAuditDTO;

import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class InspectionRuleDTO extends AbstractAuditDTO {

    private static final long serialVersionUID = 8991082036655715470L;

    //部门编号
    private String orgCode;

    //部门名称
    private String orgName;

    // 规则名称
    private String name;

    //规则编号
    private String code;

    //规则状态
    private String status;

    //起始时间
    @JsonFormat(timezone = "GMT+8")
    private Date startDateTime;

    //结束时间
    @JsonFormat(timezone = "GMT+8")
    private Date endDateTime;

    //创建人编码
    private String userCode;

    //创建人名称
    private String userName;

    //巡检类型：暖通、电气、高压
    private String inspectionType;

    //版本号
    private Integer version;

    //巡检内容
    List<InspectionRuleProjectDTO> inspectionProject;

    //巡检时间
    private String cronTime;

    //巡检时长
    private Integer duration;

}
